package com.aorise.model.system;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Auther: zhouhao
 * @Date: 2019/4/26
 * @Description: 用户角色关系表
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserRole implements Serializable{

    /**
     *  主键
     */
    private Integer id;

    /**
     *  用户ID
     */
    private Integer userId;

    /**
     *  角色ID
     */
    private Integer roleId;

    private Integer state;

    private Date createTime;

    private Integer createUser;

    private Date updateTime;

    private Integer updateUser;

}